package com.shuwen.gcdj.mapper.mysql.Statistic;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuwen.gcdj.bean.conditionMonitoring.request.StatisticsTrendstabilityQueryReq;
import com.shuwen.gcdj.bean.conditionMonitoring.request.StrainSensorQueryReq;
import com.shuwen.gcdj.bean.conditionMonitoring.response.StatisticsTrendstabilityResp;
import com.shuwen.gcdj.bean.equipmentMaintenance.request.EquipmentPeriodReq;
import com.shuwen.gcdj.entity.statistics.StatisticsTrendstability;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface StatisticsTrendstabilityMapper extends BaseMapper<StatisticsTrendstability> {

    StatisticsTrendstabilityResp getSingle(@Param("bean") StatisticsTrendstabilityQueryReq req);

    List<StatisticsTrendstabilityResp> getList(@Param("bean") StrainSensorQueryReq req);

    List<StatisticsTrendstabilityResp> getTimeList(@Param("bean") StrainSensorQueryReq req);
    //统计报表
    List<StatisticsTrendstabilityResp> getStatistic(@Param("req")EquipmentPeriodReq req);
}
